<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
    <title>dot file viewer</title>
</head>
<body>
<b>{{pname}} </b><br/>
<form action="" method="GET">
	<label><b>format:</b></label>{{form.fformat}}
	<label><b>Program:</b></label>{{form.prog}}
	<label><b>Reaction Label:</b></label>{{form.rlabel}}
	<label>	<b>  Metabolite Label:</b></label>{{form.mlabel}}
	<input type="submit" name="draw" value="redraw">
</form>
{% ifequal format "svg" %}
<embed src="/site_media/mg{{prog}}.svg" type="image/svg+xml" pluginspace="http://www.adobe.com/svg/viewer/install/" />
{% else %}
<IMG SRC="/site_media/mg{{prog}}.{{format}}" alt="met graph" />
{% endifequal %}
</body>
</html>
